package ck.com.api;

import ck.com.dto.Dto;
import ck.com.pojo.Functionfield;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
@RequestMapping("/functionfield")
public interface FunctionFieldApi {
    @RequestMapping("/selFunById")
    Dto<List<Functionfield>> selFunById(@RequestParam("id") Integer id, @RequestParam("type") Integer type);
    @RequestMapping("/selFunByType")
    Dto<List<Functionfield>> selFunByType(@RequestParam("id") Integer type);
}
